
product1 = {'title': 'Sony', 'price': 100}
# print(product1.items())
# print(product1.keys())
# print(product1.pop('title', 'NO'))
print(product1)
# print(product1.setdefault('title2'))
product1.update({'test': 'value'})
product1.update({'price': 200})
print(product1)
print(product1.values())

"""
x = 75
user_num = 0
cnt = 0

while True:
    user_num = int(input('Men 1 - 100 son o`yladim sen shuni top: '))
    cnt += 1
    if user_num == x:
        print(f'Sen chisloni topding {cnt} - urinishda')
        print('O`yimda ishtrok etganingiz uchun raxmat.')
        continue
    elif user_num > x:
        prnit('Mening raqamim kichkina')
    else:
        print('Mening raqamim katta')
"""
